var t = require;
var e = module;
var n = exports;
Object.defineProperty(n, "__esModule", {value: !0});
var o = (function () {
    function t() {}
    return (
        (t.load = function (t, e) {
            var n = function (t) {
                    e();
                },
                o = function (n) {
                    console.error("loadSubpackage(" + t + ") fail" + JSON.stringify(n)), e();
                };
            "undefined" != typeof kwaigame
                ? kwaigame.loadSubpackage({name: t, success: n, fail: o})
                : "undefined" != typeof oppoqg
                ? oppoqg.loadSubpackage({name: t, success: n, fail: o})
                : "undefined" != typeof vivoqg
                ? vivoqg.loadSubpackage({name: t, success: n, fail: o})
                : "undefined" != typeof huaweiqg
                ? huaweiqg.loadSubpackage({subpackage: t, success: n, fail: o})
                : "undefined" != typeof wx && wx.loadSubpackage
                ? wx.loadSubpackage({name: t, success: n, fail: o})
                : e();
        }),
        t
    );
})();
n.default = o;
